﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="SumWorkTime_OverTime2Rest.aspx.cs" Inherits="WorkTimeN_SumWorkTime_OverTime2Rest" %>

<%@ Register Src="../Control/DepartmentDList.ascx" TagName="DepartmentDList" TagPrefix="uc1" %>
<%@ Register Src="../Control/SelUser.ascx" TagName="SelUser" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <table cellpadding="0" cellspacing="5" class="TbSearch">
        <tr>
            <td style="width: 50px;">
                部门：
            </td>
            <td>
                <uc1:departmentdlist ID="Depart" runat="server" />
            </td>
            <td style="width: 50px;">
                员工：
            </td>
            <td>
                <uc2:seluser ID="SelUser" runat="server" />
            </td>
           
            <td style="text-align: right; margin-right: 10px;">
                <span class="roundbtn">
                    <asp:LinkButton ID="SearchButton" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;&nbsp;"
                        OnClick="Search_Click"></asp:LinkButton>
                </span>
            </td>
        </tr>
    </table>
            <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
            datamember="ViewWorkTime_OverTime2Rest2">
        </infolight:webdatasource>
    <br />
<infolight:webgridview id="wgvMaster" runat="server"
        cellpadding="5" datasourceid="Master" forecolor="#333333"
        width="100%" aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
        applyiconurl="../Image/UIPics/Apply.gif" 
        canceliconurl="../Image/UIPics/Cancel.gif" mouseoveraborticonurl="../Image/UIPics/Abort2.gif"
        mouseoveraddiconurl="../Image/UIPics/Add2.gif" mouseoverapplyiconurl="../Image/UIPics/Apply2.gif"
        mouseovercanceliconurl="../Image/UIPics/Cancel2.gif" mouseoverokiconurl="../Image/UIPics/OK2.gif"
        mouseoverqueryiconurl="../Image/UIPics/Query2.gif" okiconurl="../Image/UIPics/OK.gif"
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False" backcolor="White"
        bordercolor="White" borderstyle="Groove" borderwidth="2px" PageSize="30">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <navcontrols>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" 
                ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" 
                ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" 
                ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
        <columns>
                <asp:BoundField DataField="EmployeeId" HeaderText="员工工号" 
                    SortExpression="EmployeeId" />
                <asp:BoundField DataField="ORTimes" HeaderText="合计小时" 
                    SortExpression="ORTimes" NullDisplayText="0" />
                <asp:BoundField DataField="EmpName" HeaderText="员工姓名" 
                    SortExpression="EmpName" />
                <asp:BoundField DataField="DepartmentName" HeaderText="所属部门" 
                    SortExpression="DepartmentName" />
                <asp:BoundField DataField="DepartmentId" HeaderText="所属部门" 
                    SortExpression="DepartmentId" Visible="False" />
</columns>
        <rowstyle backcolor="#EFF3FB"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
    </infolight:webgridview>
</asp:Content>

